package cn.zebra.dev.mall.module.product.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.math.BigDecimal;
import java.util.List;

/**
 * @author runnable@sina.cn
 */
@Getter
@Setter
@ToString
public class ProductDetailDTO {

    @TableId(type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "商品类型(0:普通商品;6:虚拟商品)")
    private Integer productType;

    @ApiModelProperty("商品名称")
    private String productName;

    @ApiModelProperty("商品图片地址")
    private String productImage;

    @ApiModelProperty("商品详情(富文本)")
    private String productDetails;

    @ApiModelProperty("商品总库存")
    private Long totalNum;

    @ApiModelProperty("商品sku信息")
    private List<ProductSkuDetailDTO> skuList;

    @ApiModelProperty("商品sku规格属性信息")
    private List<ProductAttributeDetailDTO> skuAttributeList;

    @ApiModelProperty("规格(属性)列表")
    private List<AttributeDetailDTO> attributeList;

    @ApiModelProperty("商品信息")
    private List<ProductInfoDTO> productInfoList;
}
